<%@ Register TagPrefix="uc1" TagName="ucTestata" Src="../controlli/ucTestata.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" CodeFile="stat1.aspx.vb" Inherits="stat1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>stat1</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="StyleSheet">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<div align="center">
				<!-- tabella di contorno, bordo rosso -->
				<table id="tabella di contorno" style="BORDER-RIGHT: 1px; BORDER-TOP: 1px; BORDER-LEFT: 1px; BORDER-BOTTOM: 1px"
					borderColor="#de0029" cellSpacing="0" cellPadding="0" width="700" border="1">
					<tr>
						<td width="100%" bgColor="#de0029">
							<!-- testata --><uc1:uctestata id="UcTestata1" runat="server"></uc1:uctestata>
							<!-- fine testata -->
							<table id="Table1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0"
								cellPadding="0" width="700" bgColor="#ffffff" border="0">
								<TBODY>
									<tr>
										<td colspan="4"><IMG height="10" src="../images/x.gif" width="1"></td>
									</tr>
									<tr>
										<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
										<td colspan="3"><a href="../home.aspx"><span class="blu"><b>&gt; Home</b></span></a></td>
									</tr>
									<tr>
										<td colspan="4"><IMG height="10" src="../images/x.gif" width="1"></td>
									</tr>
									<tr>
										<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
										<td width="15"><IMG height="10" src="../images/quadratino_rosso.gif" width="10"></td>
										<td width="655"><span class="titolo">Creazione guidata statistiche</span>
										</td>
									</tr>
									<tr>
										<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
									</tr>
								</TBODY>
							</table>
							<TABLE cellSpacing="0" cellPadding="0" width="700" bgColor="#ffffff">
								<TBODY>
									<TR>
										<td colSpan="2"><IMG src="../images/x.gif" width="6"><span class="blu_bold">Scelta&nbsp;campi 
												visibili&nbsp;(1/4)</span></td>
									</TR>
									<tr>
										<td width="100%" colSpan="3" height="30"><IMG height="1" src="../images/x.gif" width="1"></td>
									</tr>
									<tr>
										<td width="100%" colSpan="3" height="5"><IMG height="5" src="../images/x.gif" width="1"></td>
									</tr>
								</TBODY>
							</TABLE>
							<TABLE cellSpacing="0" cellPadding="0" width="700" bgColor="#fff8f9">
								<TBODY>
									<TR>
										<TD vAlign="top" width="6" bgColor="#ffffff"><IMG alt="" src="../images/x.gif"></TD>
										<TD vAlign="top" width="688" bgColor="#ffffff" colSpan="2" height="1">
											<TABLE cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff">
												<tr>
													<td><SPAN class="blu"><IMG height="7" src="../images/quadratino_blu.gif" width="7">&nbsp;<b>Scegli 
																tra quelli disponibili i campi che ti interessano</b></SPAN></td>
													<td>&nbsp;</td>
												</tr>
												<tr>
													<td width="80%" colSpan="2"><IMG height="2" src="../images/divisore.gif" width="550"></td>
												</tr>
												<tr>
													<td width="100%" colSpan="2"><IMG height="10" src="../images/x.gif" width="1"></td>
												</tr>
												<tr>
													<td style="HEIGHT: 38px" bgColor="#ffffff" colSpan="2"><span class="nero"><asp:label id="lbRiep" runat="server" CssClass="blu"></asp:label><BR>
															<BR>
															Tabella:</span>
														<asp:dropdownlist id="dTabelle" runat="server" CssClass="nero" AutoPostBack="True" DataValueField="tabella"
															DataTextField="etitabella"></asp:dropdownlist>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
														<asp:label id="lbErr" runat="server" CssClass="nero" ForeColor="Red" Visible="False">Selezionare almeno un campo!</asp:label></td>
												</tr>
												<tr>
													<td width="100%" colSpan="2"><IMG height="10" src="../images/x.gif" width="1"></td>
												</tr>
												<tr bgColor="#fff8f9">
													<td vAlign="top"><asp:datagrid id="dgCampi" runat="server" BackColor="White" AllowPaging="True" PagerStyle-Position="Top"
															PagerStyle-Mode="NumericPages" PageSize="20" AutoGenerateColumns="False" Width="250px" AllowSorting="True"
															PagerStyle-CssClass="ordinato" BorderColor="#1A49A3" GridLines="Horizontal">
															<Columns>
																<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
																<asp:BoundColumn DataField="etitabella" HeaderText="Tabella">
																	<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:BoundColumn Visible="False" DataField="campo" HeaderText="Campo">
																	<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:BoundColumn DataField="etichetta" HeaderText="Campo">
																	<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:TemplateColumn>
																	<ItemStyle Width="32px"></ItemStyle>
																	<ItemTemplate>
																		<asp:ImageButton Runat="server" ID="imgSalva" CommandName="salva_riga" ImageUrl="..\images\aggiungi_off.gif"></asp:ImageButton>
																		<asp:Label Runat="server" Visible="False" ID="lbSel">0</asp:Label>
																	</ItemTemplate>
																</asp:TemplateColumn>
																<asp:BoundColumn Visible="False" DataField="tipo"></asp:BoundColumn>
																<asp:BoundColumn Visible="False" DataField="tabella"></asp:BoundColumn>
															</Columns>
															<PagerStyle Position="Top" CssClass="ordinato" Mode="NumericPages"></PagerStyle>
														</asp:datagrid></td>
													<td vAlign="top"><asp:datagrid id="dgSel" runat="server" BackColor="White" AllowPaging="True" PagerStyle-Position="Top"
															PagerStyle-Mode="NumericPages" PageSize="20" AutoGenerateColumns="False" Width="250px" AllowSorting="True"
															PagerStyle-CssClass="ordinato" BorderColor="#1A49A3" GridLines="Horizontal">
															<Columns>
																<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
																<asp:BoundColumn DataField="etitabella" HeaderText="Tabella">
																	<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:BoundColumn Visible="False" DataField="campo" HeaderText="Campo">
																	<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:BoundColumn DataField="etichetta" HeaderText="Campo">
																	<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:TemplateColumn>
																	<ItemStyle Width="32px"></ItemStyle>
																	<ItemTemplate>
																		<asp:ImageButton Runat="server" ID="imgLeva" CommandName="leva_riga" ImageUrl="..\images\leva_off.gif"></asp:ImageButton>
																		<asp:Label Runat="server" Visible="False" ID="lbLeva">0</asp:Label>
																	</ItemTemplate>
																</asp:TemplateColumn>
																<asp:BoundColumn Visible="False" DataField="tabella"></asp:BoundColumn>
															</Columns>
															<PagerStyle Position="Top" CssClass="ordinato" Mode="NumericPages"></PagerStyle>
														</asp:datagrid><br>
													</td>
												</tr>
												<tr>
													<td align="right" colSpan="2" height="30">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
														<asp:linkbutton id="lkAvanti" CssClass="blu" Runat="server"><img src="../images/avantiRosso.gif" border="0">&nbsp;avanti</asp:linkbutton></td>
												</tr>
											</TABLE>
										</TD>
										<TD vAlign="top" width="6" bgColor="#ffffff"><IMG alt="" src="../images/x.gif"></TD>
									</TR>
								</TBODY>
							</TABLE>
							<!-- chiusura tabella di bordo -->
							<TABLE id="chiusura" cellSpacing="0" cellPadding="0" width="100%">
								<tr>
									<td background="../images/chiusuraRossa.gif" height="15">
										<div align="center"><b><font face="Tahoma" color="#ffffff" size="1">Techno<i>service</i> 2005. 
													All rights reserved</font></b></div>
									</td>
								</tr>
							</TABLE>
						</td>
					</tr>
				</table>
			</div>
		</form>
	</body>
</HTML>
